﻿@{
    ViewBag.Title = "目标完成情况";
    Layout = "~/Views/Shared/_LayoutDualColumns.cshtml";
}
@section PageHeader{
    <span class="glyphicon glyphicon-calendar" aria-hidden="true"></span><span class="after-glyphicon">@ViewBag.Title</span>
}
<style>
    table.sum {
        margin-bottom: 16px;
        /*width: 100%;*/
    }

        table.sum th, td {
            padding: 6px 8px;
            text-align: left;
        }

        table.sum .ditch {
            padding-top: 16px;
        }

    .sum .first_level {
        border-bottom: 1px solid #e3e3e3;
    }

    .sum .third_level {
        padding-left: 16px;
    }
</style>
<div class="well">
    <table class="sum">
        <tbody>
            <tr class="lead first_level">
                <th>共应完成：</th>
                <td>20天</td>
            </tr>
            <tr>
                <th class="ditch">已提交：</th>
                <td class="ditch">12天 <small>（60% ）</small></td>
            </tr>
            <tr style="color: green;">
                <td class="third_level">验收合格：</td>
                <td class="third_level">9天 <small>（45%）</small></td>
            </tr>
            <tr>
                <td class="third_level">拒绝验收：</td>
                <td class="third_level">2天 <small>（10%）</small></td>
            </tr>
            <tr>
                <td class="third_level">等待验收：</td>
                <td class="third_level">1天 <small>（5%）</small></td>
            </tr>
            <tr>
                <th>未提交：</th>
                <td>8天 <small>（40%）</small></td>
            </tr>
        </tbody>
    </table>
</div>

<nav>
    <ul class="pager">
        <li class="previous"><a href="#">&laquo;上月</a></li>
        <li style="padding:5px 14px; display:inline-block;">2016年12月</li>
        <li class="next"><a href="#">下月&raquo;</a></li>
    </ul>
</nav>
@Html.Partial("/Views/Task/Shared/_Month.cshtml")

@section RightPanel{
    <li>
        如果目标的结束时间还没有到达，统计的是从目标开始到今天的任务完成情况。
    </li>
    <li>
        如果目标已经结束，统计的是从目标开始到目标结束全过程的任务完成情况。
    </li>
}
